#pragma once
#include <iostream>
#include <complex>
#include <cmath>

using namespace std;

void func_down_freq(complex<double>* data, int data_len, double Fc, double Fs, double ini_phase, complex<double>* data_out, double& phase);